package com.zan.pattern.factory.config_factory;

/**
 * @Author Zan
 * @Create 2024-04-24 22:36
 * @Description : TODO(请用一句话描述一下)
 * @ClassName: Client
 */
public class Client {
    public static void main(String[] args) {
        Coffee coffee = CoffeeFactory.createCoffee("american");
        System.out.println(coffee.getName());

        System.out.println("============");

        Coffee coffee1 = CoffeeFactory.createCoffee("latte");
        System.out.println(coffee1.getName());
    }
}
